package com.ruoyi.project.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 会员对象 yqg_membership_form
 *
 * @author dr
 * @date 2023-06-01
 */
public class YqgMembershipForm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardNumber;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 消费价值 */
    @Excel(name = "消费价值")
    private String consumptionValue;

    /** 累计消费 */
    @Excel(name = "累计消费")
    private String accumulatedConsumption;

    /** 剩余金额 */
    @Excel(name = "剩余金额")
    private String residualAmount;

    /** 剩余积分 */
    @Excel(name = "剩余积分")
    private String residualIntegral;

    /** 类型 */
    @Excel(name = "类型",readConverterExp = "0=储值卡,1=次卡")
    private String type;

    /** 卡性质 */
    @Excel(name = "卡性质",readConverterExp = "0=一卡通,1=三倍卡,2=会员优惠卡,3=次卡,4=游泳学员卡")
    private String cardNature;

    /** 实存金额 */
    @Excel(name = "实存金额")
    private String actualAmount;

    /** 存款消费 */
    //@Excel(name = "存款消费")
    private String depositConsumption;

    /** 净余额 */
    //@Excel(name = "净余额")
    private String netBalance;

    /** 消分日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "消分日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cancellationDate;

    /** 使用日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "使用日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateUse;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateBirth;

    /** 折扣率 */
    @Excel(name = "折扣率")
    private String discountRate;

    /** 续款次数 */
    @Excel(name = "续款次数")
    private String numberRenewals;

    /** 卡状态 */
    @Excel(name = "卡状态",readConverterExp = "0=正常,1=休眠,2=销户")
    private String cardStatus;

    /** 主卡号 */
    @Excel(name = "主卡号")
    private String masterCardNumber;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 赠卡标志 */
    @Excel(name = "赠卡标志")
    private String giftCardSign;

    /** 售卡人 */
    @Excel(name = "售卡人")
    private String cardSeller;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 兑换积分 */
    @Excel(name = "兑换积分")
    private String redeemPoints;

    /** 累计积分 */
    @Excel(name = "累计积分")
    private String cumulativeIntegral;

    /** 会员柜号 */
    @Excel(name = "会员柜号")
    private String memberCounterNumber;

    /** 开户时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开户时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date accountOpeningTime;

    public Date getAccountClosureTime() {
        return accountClosureTime;
    }

    public void setAccountClosureTime(Date accountClosureTime) {
        this.accountClosureTime = accountClosureTime;
    }

    /** 销户时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "销户时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date accountClosureTime;

    /** 折扣方案 */
    @Excel(name = "折扣方案")
    private String discountScheme;

    /** 有效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "有效日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date effectiveDate;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idCard;

    /** 移动电话 */
    @Excel(name = "移动电话")
    private String mobilePhone;

    /** 宅电 */
    @Excel(name = "宅电")
    private String homePhone;

    /** 工作单位 */
    @Excel(name = "工作单位")
    private String workUnit;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 优惠方案 */
    @Excel(name = "优惠方案")
    private String preferentialScheme;

    /** 备注1 */
    //@Excel(name = "备注1")
    private String note1;

    /** 备注2 */
    //@Excel(name = "备注2")
    private String note2;

    /** 备注3 */
    //@Excel(name = "备注3")
    private String note3;

    /** 备注4 */
    //@Excel(name = "备注4")
    private String note4;

    /** 备注5 */
    //@Excel(name = "备注5")
    private String note5;

    /** 备注6 */
    //@Excel(name = "备注6")
    private String note6;

    /** 备注7 */
    //@Excel(name = "备注7")
    private String note7;

    /** 备注8 */
    //@Excel(name = "备注8")
    private String note8;

    /** 备注9 */
    //@Excel(name = "备注9")
    private String note9;

    /** 备注10 */
    //@Excel(name = "备注10")
    private String note10;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCardNumber(String cardNumber)
    {
        this.cardNumber = cardNumber;
    }

    public String getCardNumber()
    {
        return cardNumber;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setConsumptionValue(String consumptionValue)
    {
        this.consumptionValue = consumptionValue;
    }

    public String getConsumptionValue()
    {
        return consumptionValue;
    }
    public void setAccumulatedConsumption(String accumulatedConsumption)
    {
        this.accumulatedConsumption = accumulatedConsumption;
    }

    public String getAccumulatedConsumption()
    {
        return accumulatedConsumption;
    }
    public void setResidualAmount(String residualAmount)
    {
        this.residualAmount = residualAmount;
    }

    public String getResidualAmount()
    {
        return residualAmount;
    }
    public void setResidualIntegral(String residualIntegral)
    {
        this.residualIntegral = residualIntegral;
    }

    public String getResidualIntegral()
    {
        return residualIntegral;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setCardNature(String cardNature)
    {
        this.cardNature = cardNature;
    }

    public String getCardNature()
    {
        return cardNature;
    }
    public void setActualAmount(String actualAmount)
    {
        this.actualAmount = actualAmount;
    }

    public String getActualAmount()
    {
        return actualAmount;
    }
    public void setDepositConsumption(String depositConsumption)
    {
        this.depositConsumption = depositConsumption;
    }

    public String getDepositConsumption()
    {
        return depositConsumption;
    }
    public void setNetBalance(String netBalance)
    {
        this.netBalance = netBalance;
    }

    public String getNetBalance()
    {
        return netBalance;
    }
    public void setCancellationDate(Date cancellationDate)
    {
        this.cancellationDate = cancellationDate;
    }

    public Date getCancellationDate()
    {
        return cancellationDate;
    }
    public void setDateUse(Date dateUse)
    {
        this.dateUse = dateUse;
    }

    public Date getDateUse()
    {
        return dateUse;
    }
    public void setDateBirth(Date dateBirth)
    {
        this.dateBirth = dateBirth;
    }

    public Date getDateBirth()
    {
        return dateBirth;
    }
    public void setDiscountRate(String discountRate)
    {
        this.discountRate = discountRate;
    }

    public String getDiscountRate()
    {
        return discountRate;
    }
    public void setNumberRenewals(String numberRenewals)
    {
        this.numberRenewals = numberRenewals;
    }

    public String getNumberRenewals()
    {
        return numberRenewals;
    }
    public void setCardStatus(String cardStatus)
    {
        this.cardStatus = cardStatus;
    }

    public String getCardStatus()
    {
        return cardStatus;
    }
    public void setMasterCardNumber(String masterCardNumber)
    {
        this.masterCardNumber = masterCardNumber;
    }

    public String getMasterCardNumber()
    {
        return masterCardNumber;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setGiftCardSign(String giftCardSign)
    {
        this.giftCardSign = giftCardSign;
    }

    public String getGiftCardSign()
    {
        return giftCardSign;
    }
    public void setCardSeller(String cardSeller)
    {
        this.cardSeller = cardSeller;
    }

    public String getCardSeller()
    {
        return cardSeller;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setRedeemPoints(String redeemPoints)
    {
        this.redeemPoints = redeemPoints;
    }

    public String getRedeemPoints()
    {
        return redeemPoints;
    }
    public void setCumulativeIntegral(String cumulativeIntegral)
    {
        this.cumulativeIntegral = cumulativeIntegral;
    }

    public String getCumulativeIntegral()
    {
        return cumulativeIntegral;
    }
    public void setMemberCounterNumber(String memberCounterNumber)
    {
        this.memberCounterNumber = memberCounterNumber;
    }

    public String getMemberCounterNumber()
    {
        return memberCounterNumber;
    }
    public void setAccountOpeningTime(Date accountOpeningTime)
    {
        this.accountOpeningTime = accountOpeningTime;
    }

    public Date getAccountOpeningTime()
    {
        return accountOpeningTime;
    }
    public void setDiscountScheme(String discountScheme)
    {
        this.discountScheme = discountScheme;
    }

    public String getDiscountScheme()
    {
        return discountScheme;
    }
    public void setEffectiveDate(Date effectiveDate)
    {
        this.effectiveDate = effectiveDate;
    }

    public Date getEffectiveDate()
    {
        return effectiveDate;
    }
    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getIdCard()
    {
        return idCard;
    }
    public void setMobilePhone(String mobilePhone)
    {
        this.mobilePhone = mobilePhone;
    }

    public String getMobilePhone()
    {
        return mobilePhone;
    }
    public void setHomePhone(String homePhone)
    {
        this.homePhone = homePhone;
    }

    public String getHomePhone()
    {
        return homePhone;
    }
    public void setWorkUnit(String workUnit)
    {
        this.workUnit = workUnit;
    }

    public String getWorkUnit()
    {
        return workUnit;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }
    public void setPreferentialScheme(String preferentialScheme)
    {
        this.preferentialScheme = preferentialScheme;
    }

    public String getPreferentialScheme()
    {
        return preferentialScheme;
    }
    public void setNote1(String note1)
    {
        this.note1 = note1;
    }

    public String getNote1()
    {
        return note1;
    }
    public void setNote2(String note2)
    {
        this.note2 = note2;
    }

    public String getNote2()
    {
        return note2;
    }
    public void setNote3(String note3)
    {
        this.note3 = note3;
    }

    public String getNote3()
    {
        return note3;
    }
    public void setNote4(String note4)
    {
        this.note4 = note4;
    }

    public String getNote4()
    {
        return note4;
    }
    public void setNote5(String note5)
    {
        this.note5 = note5;
    }

    public String getNote5()
    {
        return note5;
    }
    public void setNote6(String note6)
    {
        this.note6 = note6;
    }

    public String getNote6()
    {
        return note6;
    }
    public void setNote7(String note7)
    {
        this.note7 = note7;
    }

    public String getNote7()
    {
        return note7;
    }
    public void setNote8(String note8)
    {
        this.note8 = note8;
    }

    public String getNote8()
    {
        return note8;
    }
    public void setNote9(String note9)
    {
        this.note9 = note9;
    }

    public String getNote9()
    {
        return note9;
    }
    public void setNote10(String note10)
    {
        this.note10 = note10;
    }

    public String getNote10()
    {
        return note10;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cardNumber", getCardNumber())
            .append("name", getName())
            .append("consumptionValue", getConsumptionValue())
            .append("accumulatedConsumption", getAccumulatedConsumption())
            .append("residualAmount", getResidualAmount())
            .append("residualIntegral", getResidualIntegral())
            .append("type", getType())
            .append("cardNature", getCardNature())
            .append("actualAmount", getActualAmount())
            .append("depositConsumption", getDepositConsumption())
            .append("netBalance", getNetBalance())
            .append("cancellationDate", getCancellationDate())
            .append("dateUse", getDateUse())
            .append("dateBirth", getDateBirth())
            .append("discountRate", getDiscountRate())
            .append("numberRenewals", getNumberRenewals())
            .append("cardStatus", getCardStatus())
            .append("masterCardNumber", getMasterCardNumber())
            .append("sex", getSex())
            .append("giftCardSign", getGiftCardSign())
            .append("cardSeller", getCardSeller())
            .append("password", getPassword())
            .append("redeemPoints", getRedeemPoints())
            .append("cumulativeIntegral", getCumulativeIntegral())
            .append("memberCounterNumber", getMemberCounterNumber())
            .append("accountOpeningTime", getAccountOpeningTime())
            .append("discountScheme", getDiscountScheme())
            .append("effectiveDate", getEffectiveDate())
            .append("idCard", getIdCard())
            .append("mobilePhone", getMobilePhone())
            .append("homePhone", getHomePhone())
            .append("workUnit", getWorkUnit())
            .append("address", getAddress())
            .append("note", getNote())
            .append("preferentialScheme", getPreferentialScheme())
            .append("note1", getNote1())
            .append("note2", getNote2())
            .append("note3", getNote3())
            .append("note4", getNote4())
            .append("note5", getNote5())
            .append("note6", getNote6())
            .append("note7", getNote7())
            .append("note8", getNote8())
            .append("note9", getNote9())
            .append("note10", getNote10())
            .append("accountClosureTime", getAccountClosureTime())
            .toString();
    }
}
